package com.itcast.applet.vo;

import com.itcast.applet.entity.Commodity;
import com.itcast.applet.entity.DityUrl;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ShoppingDhVO implements Serializable {
    @ApiModelProperty("主键值")
    private Long id;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品价格")
    private Double price;

    @ApiModelProperty("库存数量")
    private Integer number;

    @ApiModelProperty("商品表关联")
    private Long dityId;

    @ApiModelProperty("与用户逻辑外键绑定")
    private Long shoppingId;

    @ApiModelProperty("商品描述")
    private String present;

    @ApiModelProperty("商品图片数据")
    private List<DityUrl> dityUrls;

}
